public class Goods {
    private String id;
    private String name;
    private int price;
    private int num;
    public Goods(){

    }
    public Goods(String id, String name, int price, int num){
        this.id = id;
        this.name = name;
        this.price = price;
        this.num = num;
    }
    public void setId(String id){
        this.id = id;
    }
    public String getId(){
        return id;
    }
    public void setName(String name){
        this.name = name;
    }
    public String getName(){
        return name;
    }
    public void setPrice(int price){
        this.price = price;
    }
    public int getPrice(){
        return price;
    }
    public void setNum(int num){
        this.num = num;
    }
    public int getNum(){
        return num;
    }
}
